#test policy file
#earlier = higher precedence!

[main]
key_aliases =
    30C9ECF8    fedora-test
    4F2A6FD2    fedora-gold
    897DA07A    redhat-beta
    1AC70CE6    fedora-extras
    6DF2196F    fedora-8-9
    DF9B0AE9    fedora-8-9-test
    0B86274E    fedora-10-test
    4EBFC273    fedora-10
    D22E77F2    fedora-11
    57BBCCBA    fedora-12
    E8E40FDE    fedora-13
    97A1071F    fedora-14
    069C8460    fedora-15
    A82BA4B7    fedora-16
    1ACA3465    fedora-17
    DE7F38BD    fedora-18
    FB4B18E6    fedora-19
    246110C1    fedora-20
    95A43F54    fedora-21
    8E1431D5    fedora-22
    34EC9CBA    fedora-23
    81B46521    fedora-24
    217521F6    fedora-epel
    0608B895    fedora-epel-6
    352C64E5    fedora-epel-7

unprotected_keys =
    fedora-15
    fedora-16
    fedora-17
    fedora-18
    fedora-19
    fedora-20
    fedora-21
    fedora-22
    fedora-23
    fedora-24
    fedora-extras
    redhat-beta
    fedora-epel
    fedora-epel-6
    fedora-epel-7

server = https://koji.fedoraproject.org/kojihub
weburl = http://koji.fedoraproject.org/koji
from_addr = Koji Build System <buildsys@fedoraproject.org>

[prune]
policy =
    #stuff to protect
    #note that tags with master lock engaged are already protected
    tag *-updates :: keep
    age < 1 day :: skip
    sig fedora-gold :: skip
    sig fedora-test && age < 12 weeks :: keep
    sig fedora-10-test && age < 12 weeks :: keep
    sig fedora-10 && age < 12 weeks :: keep
    sig fedora-11 && age < 12 weeks :: keep
    sig fedora-12 && age < 12 weeks :: keep
    sig fedora-13 && age < 12 weeks :: keep
    sig fedora-14 && age < 12 weeks :: keep
    sig fedora-15 && age < 12 weeks :: keep
    sig fedora-16 && age < 12 weeks :: keep
    sig fedora-17 && age < 12 weeks :: keep
    sig fedora-18 && age < 12 weeks :: keep
    sig fedora-19 && age < 12 weeks :: keep
    sig fedora-20 && age < 12 weeks :: keep
    sig fedora-21 && age < 12 weeks :: keep
    sig fedora-22 && age < 12 weeks :: keep
    sig fedora-23 && age < 12 weeks :: keep
    sig fedora-24 && age < 12 weeks :: keep
    sig fedora-epel && age < 12 weeks :: keep
    sig fedora-epel-6 && age < 12 weeks :: keep
    sig fedora-epel-7 && age < 12 weeks :: keep

    #stuff to chuck semi-rapidly
    tag *-testing *-candidate *-override && order >= 2 :: untag
    tag *-testing *-candidate && order > 0 && age > 6 weeks :: untag
    tag *-candidate && age > 8 weeks :: untag

    #default: keep the last 3
    order > 2 :: untag

